test(mcp): pin the stdio tool-count invariant at 70 after two mirrors landed#6926
Conversation
… landed The invariant is asserted as an absolute count, so two tool-registering PRs that are each correct against the same base race each other: JSONbored#6751's loopover_simulate_open_pr_pressure mirror and JSONbored#6755's loopover_intake_idea mirror both bumped 68 -> 69, but both tools registered, leaving 70 live against a 69 assertion. main has been red on validate-tests since, which also closes unrelated contributor PRs on inherited CI failure. Pin the count at 70 -- matching the 70 registerStdioTool registrations and 70 STDIO_TOOL_DESCRIPTORS entries now on main -- and record both mirrors in the header so the next bump starts from the real base.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6926 +/- ##
==========================================
+ Coverage 89.39% 93.71% +4.31%
==========================================
Files 685 685
Lines 68357 68357
Branches 18726 18726
==========================================
+ Hits 61108 64058 +2950
+ Misses 5497 3302 -2195
+ Partials 1752 997 -755
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
Caution 🛑 LoopOver review result - reject/close recommendedReview updated: 2026-07-17 13:53:17 UTC
Review summary Nits — 2 non-blocking
Why this is blocked
📋 Copy for AI agents — paste into your coding agentDecision drivers
Context & advisory signals — never blocks the verdict
Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
LoopOver is closing this pull request on the maintainer's behalf (No linked issue detected). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
mainis currently red onvalidate-tests (3):AssertionError: expected 70 to be 69.Cause
The stdio tool-count invariant is asserted as an absolute count, so two tool-registering PRs that are each correct against the same base race each other:
loopover_simulate_open_pr_pressuremirror (feat(api): add a REST route + CLI mirror for loopover_simulate_open_pr_pressure #6915) bumped 68 → 69loopover_intake_ideamirror (feat(api): REST + CLI mirror for loopover_intake_idea #6916) bumped 68 → 69Both were correct when written, and both tools registered — leaving 70 live tools against a 69 assertion. Neither diff is individually wrong; the invariant simply can't express two concurrent bumps.
Fix
Pin the count at 70, matching what is actually on
mainright now:70registerStdioTool(...)registrations inpackages/loopover-mcp/bin/loopover-mcp.js70STDIO_TOOL_DESCRIPTORSentries70Both mirrors are recorded in the header comment so the next bump starts from the real base rather than re-deriving it from a stale line.
Why this matters beyond the invariant
The gate closes contributor PRs on a red required CI, so while
mainis red unrelated PRs are being auto-closed on inherited failure — the AI review on those correctly notes that nothing in their diffs explains it. This unblocks them.Test-only change; no source or behaviour touched.